package com.ccom.ccomstart.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Description
 * @Author zjj
 * @Date 2021/9/9
 */
@RestController
@RequestMapping(value = "/hello")
public class HelloController {
    @GetMapping("/test")
    public String test() {
        return "hello test";
    }

    @GetMapping("/test1")
    public String test1(String test1) {
        return "hello test";
    }
}
